package com.neuedu.util;

import lombok.Getter;

@Getter
public enum  ResultCode {

    SUCCESS(200,"操作成功"),
    FAILED(500,"操作失败"),
    NOTOKEN(401,"未登录或者登陆已经超时"),
    NOPERMISS(403,"没有权限"),
    NOHANDLER(404,"请求地址错误")
    ;


    private Integer code;
    private String message;

    ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}



